package bb.lanxing.lib.devices.sgsettingentity.notification;

import com.tencent.connect.common.Constants;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

public final class BasicNotification {
    private String app;
    private Boolean state;

    public static /* synthetic */ BasicNotification copy$default(BasicNotification basicNotification, String str, Boolean bool, int i, Object obj) {
        if ((i & 1) != 0) {
            str = basicNotification.app;
        }
        if ((i & 2) != 0) {
            bool = basicNotification.state;
        }
        return basicNotification.copy(str, bool);
    }

    public final String component1() {
        return this.app;
    }

    public final Boolean component2() {
        return this.state;
    }

    public final BasicNotification copy(String str, Boolean bool) {
        return new BasicNotification(str, bool);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof BasicNotification)) {
            return false;
        }
        BasicNotification basicNotification = (BasicNotification) obj;
        return Intrinsics.areEqual(this.app, basicNotification.app) && Intrinsics.areEqual(this.state, basicNotification.state);
    }

    public int hashCode() {
        String str = this.app;
        int i = 0;
        int hashCode = (str == null ? 0 : str.hashCode()) * 31;
        Boolean bool = this.state;
        if (bool != null) {
            i = bool.hashCode();
        }
        return hashCode + i;
    }

    public String toString() {
        return "BasicNotification(app=" + this.app + ", state=" + this.state + ')';
    }

    public BasicNotification(String str, Boolean bool) {
        this.app = str;
        this.state = bool;
    }

    public final String getApp() {
        return this.app;
    }

    public final void setApp(String str) {
        this.app = str;
    }

    public final Boolean getState() {
        return this.state;
    }

    public final void setState(Boolean bool) {
        this.state = bool;
    }
}
